Rectangle moved using the translate transformation