Add method center()

Set frame location to center of the screen
Revert "Add method center()"

This reverts commit 76580569447b64ed892577c256b203ecf68f9b18.