WPRO fix for not resizing media