fixes a simple camera bug