fixes for chrome and dont select pixels while drawing