Add some screen canvas functions and tests (to be deleted)