Prevented unwanted canvas highlighting