Fixed crash on mouse click
Fixed menu buttons