Fixes some miscellanious issues with the gui components.
Primarily, this means that some mouse hitbox issues have been fixed in addition to the borders acting strangely.