Fix rectangle img placement