Test that negative grid positions are correctly resolved.