Fixes tick labels disappearing when grid lines are used

Fixes #17