Fixed some bugs with quarter photo plugin