fixing issue with grid offsets not working with certain other classes