Enable snapToGrid for text and image elements.