Fix small offset when adding shapes in bitmap editor

Fixes #273.