foreground loads jpg instead of png