Added nearest neighbor interpolation to scene transformation