Add workaround for for bug with offset in sprites