Only refresh canvas when needed on drop event