update camera settings after resize