Fix incorrect scale values when copying textures

Fixes #130