[fix] Fixed GenericFrame generating centre, etc.

Fixed the GenericFrame not generating in the centre of the screen
Fixed GenericFrame's buttons painting focus which goes against the
standard theme