Solved null pointer exception that occured when you started to filter zoomed image that did not yet have it's original image.