Set snapToPixel to true by default

This PR changes snapToPixel's default value from false to true, as discussed in #2044 . It also makes snapToPixel configurable at the application level.