Fixed costume center when importing costumes from the library

…and when importing images into the bitmap editor.

Fixes #247.