Fixed pixel shift problem for ->putMain()