Fixed crash when ticking checkbox landscape mode
Major overhaul