Fixed grid for selection and stamp tools in bitmap editor

Fixes #64.