Only reset resize cursor when needed