Fix GLFW Fullscreen Canvas Crash

Closes #664.

Changes were selectively copied from the original file, also I needed an additional `.contents` dereference.
PEP8 end with newline