Fixed endless legal screen bug