commit before camera moves correctly