This would alleviate the known issue where a crash occurs if the window is too small
This would alleviate the known issue where a crash occurs if the window is too small