corrected canvas restrictions and border display