Refined position and size methods. Fixes #4.