Fixed flickering and sizes (fix #15)