fix for #15

Checking arguments for positioning of the frame.
Sometimes it's not just an integer.