Fixed move and shoot bug

Added a boolean to handle mouse clicks