Fixed up bugs in flame movement.