Turned the XBFilteredImageView image property weak so it won't necessarily keep the image alive. Fixed wrong discardFramebuffer code.