Fixed mouse capping ingame. Made states pass on self reference when creating sub states