Added `capture_cursor` to `RenderWindow`