Fix resolution setting, needs division instead of multiplication