fix another cursesport bug

This should fix issues #8138 and #8139.

I apologize for the inconvenience.