Fixes straight line drawing over controls crash