Fixed main pointer positioning

Signed-off-by: Marcin Wiatr <mail.wichura@gmail.com>