Reduced crashes when opening setting screens: thanks, @STALKER2010