Fix grid
argument handling in overlaying
#959
Merged
grid
argument handling in overlaying
#959