Mouse speeds up as FPS gets lower

So, This is the code, all works fine but…the mouse sensitivity gets higher the lower the FPS gets. What have i missed ? As far as i can tell the keyboard movement and mouse are set up nearly identical and both take axis values but only the mouse speed is affected by this ? wut