cover edge cases for cursor style