adds better cursor behavior while coding images