Fixed more pointer size issues
Fixed a crash with trying to shutdown the video