Fixed low fps when camera closed