fixing off canvas height issues