Fix pasting in bitmap editor

Fixes #40.