Marek Hamsik bagged a brace for Slovakia in their 3-1 win over Belarus, but his second was on target after a strong shot rebounded off the post.